﻿using AbpBase.Application.Contracts;
using AbpBase.Database;
using AbpBase.Domain;
using Microsoft.Extensions.DependencyInjection;
using Volo.Abp.Modularity;
/// <summary>
/// 此项目用于实现接口、编写各种服务。
/// </summary>
namespace AbpBase.Application
{
    [DependsOn(
         typeof(AbpBaseDomainModule),
         typeof(AbpBaseApplicationContractsModule),
         typeof(AbpBaseDatabaseModule)
     )]
    public class AbpBaseApplicationModule: AbpModule
    {
        public override void ConfigureServices(ServiceConfigurationContext context)
        {
            //注入日志
            context.Services.AddSingleton<Serilog.ILogger>(Serilog.Log.Logger);
        }
    }
}
